#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>

int main()
{
	int arr1[] = {1,2,3,4,5};
	int arr2[] = { 6,7,8,9,10 };
	int t=0;
	for (int i = 0; i < 5; i++)
	{
		arr1[i] = t;
		arr1[i] = arr2[i];
		arr2[i] = t;
	}
	for (int i = 0; i < 5; i++)
	{
		printf("%d ", arr1[i]);
	}

	return 0;
}